/**
 * 
 */
package org.hotpotmaterial.codegenn2.dto;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author causer
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
public class ResultOfListDTO<T> extends ResultBaseDTO {

	private List<T> data;

	@Builder
	private ResultOfListDTO(String code, String msg, List<T> data) {
		super(code, msg);
		this.data = data;
	}
	
}
